package com.hqyj.shop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hqyj.shop.dto.GoodsInfoDto;
import com.hqyj.shop.pojo.GoodsInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rock
 * @since 2024-10-11 01:33:11
 */
@Mapper
public interface GoodsInfoMapper extends BaseMapper<GoodsInfo> {
    //分页查询
    Page<GoodsInfo> queryPage(Page<GoodsInfo> page, @Param("g") GoodsInfoDto dto);

    //全文搜索
    Page<GoodsInfo> queryFullText(Page<GoodsInfo> page,String word);
}
